#pragma once

#ifdef POCKETPC2003_UI_MODEL
#include "resourceppc.h"
#endif

class CDataStream
{
public:
	int Read(BYTE* Array, int intOffset, int intCount);
	BYTE ReadByte();
	CDataStream(void);
	~CDataStream(void);
	DWORD GetPosition(void);
	void SetPosition(DWORD dwPosition);
	BOOL Load(CString DataPath);

private:

public:
	DWORD	dwPosition;
	DWORD	dwTotalSize;
	DWORD	Position;
private:
	BYTE* lpData;
	HGLOBAL   hGlobal ;

};
